-- GENERATED SPELL FOR [Chicken] --


function spell0_620(pUnit, Event) --@Summon Chicken Egg,n/a--
pUnit:FullCastSpellOnTarget(13563,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_620', 578, 1)
end

function Sorts_620(pUnit, Event)
local choix_sorts_620 = math.random(0, 0)
if choix_sorts_620 == 0 then
pUnit:RegisterEvent('spell0_620', 1, 1)
end
end

function mob620_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_620', math.random(1500, 3000), 1)
end

function mob620_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob620_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob620_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(620, 1, 'mob620_Action')
RegisterUnitEvent(620, 2, 'mob620_Leave')
RegisterUnitEvent(620, 3, 'mob620_Kill')
RegisterUnitEvent(620, 4, 'mob620_Die')
